import { createApp } from 'vue'
import 'normalize.css/normalize.css'
import ElementPlus from 'element-plus'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'
import App from './App.vue'
import router from './route'
import http from './components/http.js';
import apiFun from "./components/api.js";


const app = createApp(App)
app.config.globalProperties.$apiFun = apiFun
app.config.globalProperties.$http = http
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router)
app.use(ElementPlus)
  
  
import 'virtual:windi.css'

app.mount('#app')